@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app{
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus{
  outline: none;
 }

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

code {
  background: #eef1f6;
  padding: 15px 16px;
  margin-bottom: 20px;
  display: block;
  line-height: 36px;
  font-size: 15px;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  a {
    color: #337ab7;
    cursor: pointer;
    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.warn-content{
  background: rgba(66,185,131,.1);
  border-radius: 2px;
  padding: 16px;
  padding: 1rem;
  line-height: 1.6rem;
  word-spacing: .05rem;
  a{
    color: #42b983;
    font-weight: 600;
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  .subtitle {
    font-size: 20px;
    color: #fff;
  }
  &.draft {
    background: #d0d0d0;
  }
  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

// .el-form >.el-form-item>.el-form-item__content>.el-input>.el-input__inner{
//  width: 250px !important;
// }

/*文字*/

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-over-hide {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* 隐藏，显示 */
.show {
  display: block !important;
}

.hide {
  display: none !important;
}

/* 浮动 */

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.clear {
  clear: both;
}


/*内边距*/

.p-0 {
  padding: 0;
}

.pt-0 {
  padding-top: 0 !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pl-0 {
  padding-left: 0 !important;
}


/* 5px */

.p-1 {
  padding: 5px
}

.pt-1 {
  padding-top: 5px !important;
}

.pr-1 {
  padding-right: 5px !important;
}

.pb-1 {
  padding-bottom: 5px !important;
}

.pl-1 {
  padding-left: 5px !important;
}


/* 10px */

.p-2 {
  padding: 10px;
}

.pt-2 {
  padding-top: 10px !important;
}

.pr-2 {
  padding-right: 10px !important;
}

.pb-2 {
  padding-bottom: 10px !important;
}

.pl-2 {
  padding-left: 10px !important;
}


/* 15px */

.p-3 {
  padding: 15px;
}

.pt-3 {
  padding-top: 15px !important;
}

.pr-3 {
  padding-right: 15px !important;
}

.pb-3 {
  padding-bottom: 15px !important;
}

.pl-3 {
  padding-left: 15px !important;
}


/* 20px */

.p-4 {
  padding: 20px
}

.pt-4 {
  padding-top: 20px !important;
}

.pr-4 {
  padding-right: 20px !important;
}

.pb-4 {
  padding-bottom: 20px !important;
}

.pl-4 {
  padding-left: 20px !important;
}


/* 30px */

.p-5 {
  padding: 30px;
}

.pt-5 {
  padding-top: 30px !important;
}

.pr-5 {
  padding-right: 30px !important;
}

.pb-5 {
  padding-bottom: 30px !important;
}

.pl-5 {
  padding-left: 30px !important;
}


/*外边距*/

.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0 !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.ml-0 {
  margin-left: 0 !important;
}


/* 5px */

.m-1 {
  margin: 5px
}

.mt-1 {
  margin-top: 5px !important;
}

.mr-1 {
  margin-right: 5px !important;
}

.mr--1 {
  margin-right: -5px !important;
}

.mb-1 {
  margin-bottom: 5px !important;
}

.ml-1 {
  margin-left: 5px !important;
}

.ml--1 {
  margin-left: -5px !important;
}


/* 10px */

.m-2 {
  margin: 10px;
}

.mt-2 {
  margin-top: 10px !important;
}

.mr-2 {
  margin-right: 10px !important;
}

.mr--2 {
  margin-right: -10px !important;
}

.mb-2 {
  margin-bottom: 10px !important;
}

.ml-2 {
  margin-left: 10px !important;
}

.ml--2 {
  margin-left: -10px !important;
}


/* 15px */

.m-3 {
  margin: 15px;
}

.mt-3 {
  margin-top: 15px !important;
}

.mr-3 {
  margin-right: 15px !important;
}

.mr--3 {
  margin-right: -15px !important;
}

.mb-3 {
  margin-bottom: 15px !important;
}

.ml-3 {
  margin-left: 15px !important;
}

.ml--3 {
  margin-left: -15px !important;
}


/* 20px */

.m-4 {
  margin: 20px
}

.mt-4 {
  margin-top: 20px !important;
}

.mr-4 {
  margin-right: 20px !important;
}

.mr--4 {
  margin-right: -20px !important;
}

.mb-4 {
  margin-bottom: 20px !important;
}

.ml-4 {
  margin-left: 20px !important;
}

.ml--4 {
  margin-left: -20px !important;
}


/* 30px */

.m-5 {
  margin: 30px;
}

.mt-5 {
  margin-top: 30px !important;
}

.mr-5 {
  margin-right: 30px !important;
}

.mr--5 {
  margin-right: -30px !important;
}

.mb-5 {
  margin-bottom: 30px !important;
}

.ml-5 {
  margin-left: 30px !important;
}

.ml--5 {
  margin-left: 30px !important;
}

.m-auto {
  margin: auto !important;
}

.m-lr-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}


/*边框*/

.border {
  border: 1px solid #d8dee2;
}

.border-top {
  border-top: 1px solid #d8dee2;
}

.border-right {
  border-right: 1px solid #d8dee2;
}

.border-bottom {
  border-bottom: 1px solid #d8dee2;
}

.border-left {
  border-left: 1px solid #d8dee2;
}

.border-none {
  border: none !important;
}

.border-top-none {
  border-top: none !important;
}

.border-right-none {
  border-right: none !important;
}

.border-bottom-none {
  border-bottom: none !important;
}

.border-left-none {
  border-left: none !important;
}


/* 圆角 */

.rounded {
  /* 5px */
  border-radius: 5px
}

.circle {
  border-radius: 1000px;
}

.circle-left {
  border-top-left-radius: 1000px;
  border-bottom-left-radius: 1000px;
}

.circle-right {
  border-top-right-radius: 1000px;
  border-bottom-right-radius: 1000px;
}

.circle-top {
  border-top-left-radius: 1000px;
  border-top-right-radius: 1000px;
}

.circle-bottom {
  border-bottom-left-radius: 1000px;
  border-bottom-right-radius: 1000px;
}


/* 宽度比例 */

.h-full {
  height: 100%;
}

.w-full {
  width: 100%;
}

.w-half {
  width: 50%;
}

.w-third {
  width: 33.33333333%;
}

.w-quarter {
  width: 25%;
}


/* 颜色 */

.bg-white {
  background-color: white
}

/*扩展*/

.wid-250{
  width: 250px;
}
.wid100{
  width: 100%;
}

.elimg {
  width: 200px;
  height: 200px;
  margin-right: 15px;
}



